package com.nf.mapper;

import com.nf.entity.Card;

import java.util.List;

public interface CardMapper {
    //获取所有卡号信息
    public List<Card> getAllCardInfo();
    //根据卡号查询卡号信息
    public Card  queryCardInfoBycardId(String cardId);
    //添加卡号信息
    public  boolean addCard(Card card);
    //修改卡号信息
    public  boolean updateCard(Card card);
    //删除卡号信息
    public  boolean deleteCard(Card card);
}
